#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
WORKDIR /app
EXPOSE 80
COPY . .
RUN  sed -i s@/deb.debian.org/@/mirrors.tencent.com/@g /etc/apt/sources.list.d/debian.sources
RUN  sed -i s@/security.debian.org/@/mirrors.tencent.com/@g /etc/apt/sources.list.d/debian.sources
RUN  apt-get clean
RUN  apt-get update
RUN  apt-get install libgdiplus -y
ENTRYPOINT ["dotnet", "WebGYB.dll"]